package vip.xiaonuo.biz.modular.config.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO 描述
 *
 * @author mengxiaowei
 * @date 2024/9/23 10:18
 */


@NoArgsConstructor
@Data
public class DeviceEventParam {


    @JsonProperty("userId")
    private String userId;
    @JsonProperty("timestamp")
    private Long timestamp;
    @JsonProperty("radio")
    private RadioDTO radio;
    @JsonProperty("EEGtES")
    private EEGtESDTO eEGtES;
    @JsonProperty("main")
    private MainDTO main;

    @NoArgsConstructor
    @Data
    public static class RadioDTO {
        @JsonProperty("evt")
        private String evt;
        @JsonProperty("timestamp")
        private String timestamp;
    }

    @NoArgsConstructor
    @Data
    public static class EEGtESDTO {
        @JsonProperty("evt")
        private String evt;
        @JsonProperty("timestamp")
        private String timestamp;
    }

    @NoArgsConstructor
    @Data
    public static class MainDTO {
        @JsonProperty("evt")
        private String evt;
        @JsonProperty("timestamp")
        private String timestamp;
    }
}
